#include <stdio.h>

void StringCount( char s[] ){
	int a[4] = {0};
	for(int i = 0;s[i]!='\0';i++){
		if(('a'<=s[i]&&s[i]<='z')||('A'<=s[i]&&s[i]<='Z')){
			a[0]++;
		}else if(s[i]==' '||s[i]=='\n'){
			a[1]++;
		}else if('0'<=s[i]&&s[i]<='9'){
			a[2]++;
		}else{
			a[3]++;
		}
	}printf("letter = %d, blank = %d, digit = %d, other = %d",a[0],a[1],a[2],a[3]);
}
#define M 10
int main(){
	char a[M];
	gets(a);
	puts(a);
	printf("%d %d\n",sizeof(a),sizeof(a[0]));
	for(int i = 0;a[i]!='\0';i++){
		printf("%c\n",a[i]);
	}
}
